﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Microsoft.AspNetCore.Mvc.Rendering;

namespace Kugar.UI.Web.AdminLTE.Interfaces
{
    public interface IClientValidateRender
    {
        /// <summary>
        /// 直接输出校验用的脚本,无需输出<<script>>标签
        /// </summary>
        /// <param name="viewContext"></param>
        void Render(ViewContext viewContext);

        /// <summary>
        /// 返回需引用的脚本的链接
        /// </summary>
        /// <returns></returns>
        string[] Scripts();

        string[] CssFilesUrl();
    }
}
